Comment on Xcode 11 Command PhaseScriptExecution failed with a nonzero exit code Same issue , lock option is in gray color. Topic: Developer Tools & Services SubTopic: Xcode Tags: Oct ’21